We are only truly free when we accept that we will die and that will be the absolute end for each of us.
Accepting that we will die no matter what we do, means that we can live as we truly wish to. Knowing that we are mortal allows us to make choices without being influenced by trying to investing in an afterlife.
If we live in the hope of gaining the approval of a god, or any other being who can reward us, our choices will always be influenced by our desire to please that being. Jesus is reported to have said many times that he lived to carry out his fathers will not his own; that to follow him one had to become a slave. Muslims tell the same story with regard to Allah.
Free will is the possesion of free men and women who know that the only reality is now and how we spend it our choice.